package com.rbw.controller.req;

import javax.validation.constraints.Pattern;
import javax.validation.groups.Default;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 检查手机号
 * 
 * @author cuihaidong
 *
 */
public class CheckPhoneParam {

	@NotEmpty(groups = Default.class)
	@Pattern(regexp = "^1[3|4|5|8]\\d{9}$", message = "手机号格式不正确")
	private String phoneNum;

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

}
